home *** CD-ROM | disk | FTP | other *** search
/ Aminet 51 / Aminet 51 (2002)(GTI - Schatztruhe)[!][Oct 2002].iso / Aminet / disk / misc / cfd.readme < prev    next >
Encoding:
Text File  |  2002-07-17  |  10.2 KB  |  322 lines

  1. Short:    Use CompactFlash cards in your PCMCIA slot
  2. Author:   t.jager@gmx.de (Torsten Jager)
  3. Uploader: t.jager@gmx.de (Torsten Jager)
  4. Version:  1.14
  5. Type:     disk/misc
  6. Kurz:     CompactFlash-Speicherkarten im PCMCIA-Steckplatz bearbeiten
  7. Date:     03-Jul-2002
  8.  
  9. (deutsche Beschreibung siehe unten - german description see below)
  10. $VER: compactflash.device 1.14 (03.07.2002)
  11.  
  12. --- english section ----------------------------------------
  13.  
  14. Purpose
  15. =======
  16.  
  17. Read and write your digital photos, mp3 files etc. directly from
  18. CompactFlash cards as used by many mobile devices.
  19.  
  20. The OS supplied "carddisk.device" appeared to be unable to understand
  21. CF cards. I already had bought that adapter card, so I decided to write
  22. a suitable alternative myself.
  23.  
  24. New:
  25. Workaround for some strange read problem.
  26. Added ready check before command issueing.
  27. Added PCMCIA speed check tool.
  28. Added read/write check tool.
  29.  
  30. A word on hardware:
  31.  
  32. you will need a special adapter card labelled "CompactFlash to
  33. PCMCIA", to "PC Card" or to "ATA". It looks like a normal 5mm
  34. PCMCIA card with a smaller slot for CF cards at the front side.
  35.  
  36. There are two types of such adapters sold in good computer
  37. stores, for "CF Type 1" and "CF type 2" cards.
  38. The only two differences: "CF Type 2" adapters can also cope
  39. with thicker CF cards, like those expensive "MicroDrive"
  40. harddisks; and b) they cost more.
  41.  
  42. Mine is a "CF Type 1" which I got for EUR 10 (but I also saw
  43. the same model for the double price...).
  44.  
  45. Some testing results:
  46. I have two CF cards, 16 and 64 Mbyte of capacity.
  47. 16Mbyte card (Hitachi): 1.0 Mb/s read, 600 kb/s write.
  48. 64Mbyte card (PQI): 1.6 Mb/s read, 800 kb/s write.
  49.  
  50. It seems that cfd does also work at least with *some* MultiMedia
  51. Card and Sony Memory Stick adapters. I cannot guarantee that,
  52. however. Still trying to find out by remote diagnosis...
  53. For now: Concerning Non-CF adapters, always *first* insert the
  54. memory card into the adapter, and *then* plug the adpter into
  55. the Amiga.
  56.  
  57. Another word on hardware:
  58.  
  59. Commodore back then introduced the Amiga PCMCIA port
  60. before (!) the official PCMCIA standard was released. As a
  61. consequence, it is not fully compatible.
  62. Your results may vary on your actual hardware combination,
  63. including memory card, adapter, Amiga model, its chipset
  64. revision, and accelerator board model.
  65. Thanks to the help of some of you, I managed to work
  66. around a few such comatibility pits. Others are still very
  67. mysteriously, and I´m not sure whether they can be fixed
  68. by software.
  69.  
  70. WARNING:
  71. "CompactFlash" is (TM) by CompactFlash Association ;-)
  72.  
  73.  
  74. System requirements
  75. ===================
  76.  
  77. * AMIGA 1200 or 600, OS 2.0+
  78. * "CompactFlash to PCMCIA/ATA" adapter card,
  79.     see adapter.jpg for an example
  80. * fat95 file system (disk/misc/fat95.lha)
  81.  
  82.  
  83. Installation
  84. ============
  85.  
  86. Copy cfd/devs/compactflash.device to DEVS:
  87. Have fat95 installed on your system.
  88. Mount the drive by double-clicking cfd/devs/CF0.
  89.  
  90. If you run OS 3.5+:
  91. Copy cfd/def_CF0.info to both sys:prefs/env-archive/sys and env:sys.
  92.  
  93.  
  94. Problems
  95. ========
  96.  
  97. If some trouble occurs, like cards not recognized by cfd, please:
  98.  
  99. * report exact hardware type.
  100. * mount CF0: if not already done.
  101. * insert that very card.
  102. * wait at least 1 second (yes, honestly).
  103. * take cfd/c/cfddebug and type into a shell
  104.  
  105.     cfddebug ram:cfdlog
  106.  
  107. * send me the binary file just created (about 4 kbytes).
  108.   I promise there are no passwords and such in it.
  109.  
  110. In case there is another PCMCIA driver (eg. a network card driver)
  111. blocking the card socket, try setting the CF0 mountlist entry "Flags" to
  112.  
  113.     Flags = 1    /* enable "cfd first" hack */
  114.  
  115. .
  116.  
  117.  
  118. History
  119. =======
  120.  
  121. v1.01    02/2002    First experiments.
  122.  
  123. v1.02    03/2002    Minimal exec command set to work with filesystems.
  124.  
  125. v1.03    03/2002    Added auto-repeat for faulty CF cards.
  126.  
  127. v1.04    03/2002    Removed numerous bugs.
  128.                     Added quiet shutdown if non-CF cards are inserted.
  129.  
  130. v1.05    03/2002    Added TD64 and SCSI emulation support.
  131.  
  132. v1.06    03/2002    Card interface moved to PCMCIA I/O address space.
  133.  
  134. v1.07    04/2002    Added debug tool and disk icon.
  135.  
  136. v1.08    04/2002    Changed interrupt handling.
  137.                     Made read access a bit faster.
  138.  
  139. v1.09    05/2002    Added "cfd first" hack.
  140.                     Added SCSI 6 byte read/write commands.
  141.  
  142. v1.10    05/2002    Added PCMCIA status change handling.
  143.  
  144. v1.11    06/2002    Fixed SCSI "Inquiry" command emulation.
  145.                     Set card programming voltage to 5VDC.
  146.  
  147. v1.12    06/2002    Added slowed down transfer mode.
  148.                     Added PCMCIA speed check tool.
  149.  
  150. v1.13    06/2002    Removed slowdown again, didn't fix the problem.
  151.                     Added "double read" and "double write" workarounds.
  152.                     Added read/write check tool.
  153.  
  154. v1.14    07/2002    Removed "double write" kludge again (was unnecessary).
  155.                     Added ready check befor command issueing.
  156.  
  157. Have Fun!
  158.  
  159.  
  160. --- und noch einmal auf deutsch ----------------------------
  161.  
  162. Verwendungszweck
  163. ================
  164.  
  165. Lesen und schreiben Sie ihre digitalen Fotos, mp3 Dateien usw.
  166. direkt von CompactFlash-Speicherkarten.
  167.  
  168. Das in OS3.9 enthaltene "carddisk.device" konnte leider mit CF-Karten
  169. nichts anfangen. Ich wollte den schon gekauften PCMCIA-Adapter
  170. aber nicht abschreiben, also griff ich zur Selbsthilfe.
  171.  
  172. Neu:
  173. Umgehung für ein seltsames Leseproblem hinzugefügt.
  174. Bereitschaftsprüfung vor Kommandosenden hinzugefügt.
  175. Testprogamme für PCMCIA Geschwindigkeit und Lesen/Schreiben
  176. hinzugefügt.
  177.  
  178. Zum Thema Hardware:
  179.  
  180. Sie brauchen eine spezielle Adapterkarte, genannt "CompactFlash
  181. auf PCMCIA", auf "PC Card" oder auf "ATA". Die sieht aus wie
  182. eine gewöhnliche 5mm PCMCIA Karte mit einem kleineren
  183. Einsteckschacht für CF Karten auf der Vorderseite.
  184.  
  185. Im gut sortierten Computerhandel gibt es zwei verschiedene
  186. Ausführungen, für "CF Typ 1" und für "CF Typ 2". Letztere bieten
  187. nur zwei Unterschiede: a) sie eignen sich auch für dickere CF
  188. Karten, wie diese s**teuren "MicroDrive" Festplatten, und sie
  189. sind b) etwas teurer.
  190.  
  191. Apropos Geld: mein "CF Typ 1" Adapter kam ca. EUR 10
  192. (habe ich aber auch schon für den doppelten Preis gesehen...).
  193.  
  194. Ein paar Testergebnisse:
  195. Ich habe zwei CF Karten, 16 und 64 Mbyte.
  196. 16 Mbyte (Hitachi): 1.0 Mb/s lesen, 600 kb/s schreiben.
  197. 64 Mbyte (PQI): 1.6 Mb/s lesen, 800 kb/s schreiben.
  198.  
  199. Es scheint als ob zumindest *einige* Adapter für MultiMedia
  200. Karten und Sony Memory Stick ebenfalls mit cfd arbeiten.
  201. Dafür kann ich derzeit aber noch nicht garantieren. Bin noch dabei
  202. per Ferndiagnose herauszufinden was da läuft...
  203. Bis dahin: bei Nicht-CF Adaptern, bitte immer *zuerst* die
  204. Sppeicherkarte in den Adapter stecken, und *danach* den
  205. Adapter in den Amiga.
  206.  
  207. Nochmal Hardware:
  208.  
  209. Commodore hat seinerzeit den Amiga mit PCMCIA ausgestattet
  210. bevor (!) der offizielle PCMCIA Standard verabschiedet war.
  211. Dadurch ist die Amiga Version nicht 100% kompatibel.
  212. Ihre Ergebnisse können damit abweichen je nach den von
  213. Ihnen benutzten Komponenten - Speicherkarte, Adapter,
  214. Amiga Modell, dessen Chipsatz Version, und Turbokarte.
  215. Dank der Hilfe einiger Anwender konnte ich ein paar dieser
  216. Probleme per Software umgehen. Andere sind immer noch
  217. sehr seltsam, und ich bin nicht sicher ob sich alle nur durch
  218. geschicktere Programmierung allein aus der Welt schaffen lassen.
  219.  
  220. WARNUNG:
  221. "CompactFlash" ist ein eingetragenes Warenzeichen der
  222. CompactFlash Association ;-)
  223.  
  224.  
  225. Systemvoraussetzungen
  226. =====================
  227.  
  228. * AMIGA 1200 oder 600, OS 2.0+
  229. * "CompactFlash auf PCMCIA/ATA" Adapter-Karte,
  230.     wie z.B. meine (adapter.jpg)
  231. * fat95 Dateisystem (disk/misc/fat95.lha)
  232.  
  233.  
  234. Installation
  235. ============
  236.  
  237. Kopieren Sie cfd/devs/compactflash.device nach DEVS:
  238. Installieren Sie ggf. fat95 nach.
  239. Melden Sie das Laufwerk an duch Doppelklicken auf cfd/devs/CF0.
  240.  
  241. Wenn Sie OS 3.5+ benutzen, kopieren Sie noch
  242. cfd/def_CF0.info nach sys:prefs/env-archive/sys und env:sys.
  243.  
  244.  
  245. Probleme
  246. ========
  247.  
  248. Bei Problemen, wie einer nicht erkannten Karte, bitte:
  249.  
  250. * Geben Sie die genauen Hardwaretypen an.
  251. * Melden Sie CF0: an wenn nicht schon geschehen.
  252. * Legen Sie die betreffende Karte ein.
  253. * Warten Sie mindestens 1 Sekunde (ja wirklich ;)
  254. * Nehmen Sie cfd/c/cfddebug und tippen Sie in eine Shell
  255.  
  256.     cfddebug ram:cfdlog
  257.  
  258. * Schicken Sie mir die soeben erzeugte Binärdatei (ca. 4 kbyte).
  259.   Es sind keine Paßwörter oder so etwas drin, versprochen.
  260.  
  261. Falls ein anderer PCMCIA Treiber (z.B. für eine Netzwerkkarte)
  262. den Kartenschacht blockiert, ändern Sie doch mal in der CF0
  263. MountList den Eintrag "Flags" in
  264.  
  265.     Flags = 1    /* "cfd zuerst" Hack aktivieren */
  266.  
  267. .
  268.  
  269.  
  270. Geschichte
  271. ==========
  272.  
  273. v1.01    02/2002    Erste Versuche.
  274.  
  275. v1.02    03/2002    Brauchbare Version für Zusammenarbeit mit Dateisystem.
  276.  
  277. v1.03    03/2002    Automatische Wiederholungen hinzugefügt für
  278.                     fehlerhafte CF Karten.
  279.  
  280. v1.04    03/2002    Zahlreiche Fehler behoben.
  281.                     Treiber deaktiviert sich selbst bei Nicht-CF Karten.
  282.  
  283. v1.05    03/2002    TD64 und SCSI Emulation hinzugefügt.
  284.  
  285. v1.06    03/2002    Kartenzugriffe über PCMCIA I/O Adressen umgeleitet.
  286.  
  287. v1.07    04/2002    Ferndiagnosemodul und Disk Icon hinzugefügt.
  288.  
  289. v1.08    04/2002    Veränderte Interruptverarbeitung.
  290.                     Lesezugriffe etwas schneller.
  291.  
  292. v1.09    05/2002    "cfd zuerst" Hack hinzugefügt.
  293.                     SCSI 6 byte Lese/Schreibkommandos hinzugefügt.
  294.  
  295. v1.10    05/2002    PCMCIA Statusänderungsbearbeitung hinzugefügt.
  296.  
  297. v1.11    06/2002    Fehler im SCSI "Inquiry" Kommando behoben.
  298.                     Kartenprogrammierspannung auf 5V eingestellt.
  299.  
  300. v1.12    06/2002    Gebremsten Übertragungsmodus hinzugefügt.
  301.                     PCMCIA Geschwindigkeitstester hinzugefügt.
  302.  
  303. v1.13    06/2002    Bremse wieder ausgebaut, hatte nicht geholfen.
  304.                     "Doppellesen" und "Doppelschreiben"
  305.                     Fehlerumgehung hinzugefügt.
  306.                     Lese/Schreibtester hinzugefügt.
  307.  
  308. v1.14    07/2002    "Doppelschreiben" wieder entfernt weil unnötig.
  309.                     Bereitschaftsprüfung vor Kommandosenden hinzugefügt.
  310.  
  311. Viel Spaß!
  312.  
  313. PS.
  314. Ich bin auf der Suche nach einer Voll- oder Teilzeitbeschäftigung
  315. im Raum Hanau, Frankfurt(M). Meine Fähigkeiten reichen von
  316. C/C++/M68k Assemblerprogrammierung über Netzwerkadministration
  317. und PC-Technik bis hin zu Kommunikations-, Industrie- und
  318. Unterhaltungselektronik.
  319. Wenn Sie also jemanden kennen der jemanden kennt, ich freue
  320. mich über jede Bewerbungsadresse :-)
  321. Ist natürlich nicht Bedingung um cfd zu nutzen ;-)
  322.